package xcmg.device.service.vo.purchase;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import xcmg.device.infra.enums.DeliveryReceiptEnum;

import java.util.Date;

@Data
@ColumnWidth(25)
public class TimelinessReportVO {

    /**采购订单id*/
    @ExcelIgnore
    private String billId;

    /**采购订单号*/
    @ExcelProperty({"采购单供货及时性数据导出", "采购订单号"})
    private String billNo;

    /**销售订单号*/
    @ExcelIgnore
    private String saleNo;

    /**供应商id*/
    @ExcelIgnore
    private String supplierOrgId;

    /**供应商名称*/
    @ColumnWidth(40)
    @ExcelProperty({"采购单供货及时性数据导出", "供应商名称"})
    private String supplierOrgName;

    /**创建时间*/
    @ExcelProperty({"采购单供货及时性数据导出", "创建时间"})
    private Date createDate;

    /**审核时间*/
    @ExcelProperty({"采购单供货及时性数据导出", "审核时间"})
    private Date auditDate;

    /**收货状态 0 未收货 1已收货*/
    @ExcelProperty(value = {"采购单供货及时性数据导出", "收货状态"}, converter = DeliveryStatusConverter.class)
    private Integer deliveryStatus;

    /**送货时间*/
    @ExcelProperty({"采购单供货及时性数据导出", "送货时间"})
    private Date commitTime;

}
